<?php
session_start();
if (isset($_SESSION["correo"])) {
    $correo=$_SESSION["correo"];
    include_once 'controla_evento.php';
    $control = new controla_contacto();
    $control->eliminar($correo, $_POST['id']);
} 
else {
    session_destroy();
    header("Location: /Multimedia/Vista/Login.html");
}
?>
